package com.broada.apm.indicator.api;

import java.util.List;

import com.broada.apm.model.TransactionChannel;
import com.broada.apm.model.TransactionType;

public interface TransactionService {

	public void saveTransactionChannel(com.broada.apm.model.TransactionChannel transactionChannel);

	public void saveTransactionType(com.broada.apm.model.TransactionType transactionType);

	public List<TransactionChannel> getTransactionChannelByAppId(String serviceId);

	public List<TransactionType> getTransactionTypeByAppId(String serviceId);

	public List<TransactionType> getTypeByCondition(com.broada.apm.model.TransactionType transactionType);

	public List<TransactionChannel> getChannelByCondition(com.broada.apm.model.TransactionChannel transactionChannel);

	public List<String> getServiceIdByL7SubProto(com.broada.apm.model.TransactionType transactionType);

	public void saveServiceL7Proto(com.broada.apm.model.TransactionType transactionType);

	public void updateTransactionChannel(com.broada.apm.model.TransactionChannel transactionChannel);

	public void updateTransactionType(com.broada.apm.model.TransactionType transactionType);

}
